<%@ page 
language="java" 
import="java.util.*" 
import="com.csd.helper.IConstant"
import="com.csd.vo.UserVO"
pageEncoding="UTF-8"
%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
HttpSession s = request.getSession();
UserVO uvo =  (UserVO)s.getAttribute(IConstant.userVO);
if(uvo==null || !uvo.getType().equals(IConstant.teacherRole))
{
	response.sendRedirect(path+"/common/register.jsp");
}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="<%=path%>/teacher/css/teacher_left.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>

<body>
    <div class="main">
        <div class="menu">
        	<ul>
                  <li class="top"><a href="<%=path%>/teacher/index.jsp" target="_parent">返回上级菜单</a></li>
                  <div class="menu_long">
                    <h3>我的消息</h3>
                     <ul class="divided">                     
                         <li><a href="<%=path %>/messageList.action" target="admin_right">收到的消息</a></li>
                     </ul>
                  </div>
                  <div class="menu_long">
                     <ul class="divided">
                     <li><a href="<%=path %>/messageSendList.action" target="admin_right">发出的消息</a></li>
                     </ul>
                  </div>  
            </ul>              
        </div>
    </div>
</body>
</html>

